module utils 
{
	/**
	 *
	 * @author 
	 *
	 */
	export class CoreData 
	{
        private static _instance: utils.CoreData;
		//适应到手机的缩放值
		public stageScale:number;
		public stage:egret.Stage;
		//舞台宽高
        public stageW:number;
        public stageH:number;
		//在手机中需要全屏幕显示的宽高 
		// *** 因为显示到手机屏幕上需要乘以缩放值
		public screenW:number;
		public screenH:number;
        //openid
        public openid:string;
		public userid:string;
		public sectionNumArr:Array<number>;
    	
		public constructor() 
		{
    		
		}

        public static get instance():utils.CoreData
		{
            if(!utils.CoreData._instance)
            {
                this._instance = new utils.CoreData();
            }
            return this._instance;
		}

	}
}
